package io.bdmc.modules.bss.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceMachineFec;
import io.bdmc.modules.bss.mapper.DeviceMachineFecMapper;
import io.bdmc.modules.bss.service.IDeviceMachineFecService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * fec盘数据 服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2021-04-28
 */
@Service
public class DeviceMachineFecServiceImpl extends ServiceImpl<DeviceMachineFecMapper, DeviceMachineFec>
        implements IDeviceMachineFecService {
    @Autowired
    DeviceMachineFecMapper _devicemachinefecMapper;

    @Override
    public MyPage<DeviceMachineFec> mySelectPage(MyPage<DeviceMachineFec> myPage) {
        return _devicemachinefecMapper.mySelectPage(myPage);
    }

    @Override
    public DeviceMachineFec selectLastFecData(String sn) {
        return _devicemachinefecMapper.selectLastFecData(sn);
    }

    @Override
    public MyPage<DeviceMachineFec> selectPage(MyPage<DeviceMachineFec> myPage, QueryWrapper<DeviceMachineFec> w1) {

        return _devicemachinefecMapper.selectPage(myPage, w1);
    }
}
